package avicit.bdp.dms.oauth2;

import org.apache.oltu.oauth2.as.request.OAuthTokenRequest;
import org.apache.oltu.oauth2.common.exception.OAuthProblemException;
import org.apache.oltu.oauth2.common.exception.OAuthSystemException;

import javax.servlet.http.HttpServletResponse;

/**
 * TODO
 *
 * @author xugb
 * @date 2024/4/12 14:41
 */
public interface OAuthTokenHandler {
    boolean support(OAuthTokenRequest var1) throws OAuthProblemException;

    void handle(OAuthTokenRequest var1, HttpServletResponse var2) throws OAuthProblemException, OAuthSystemException;
}
